package org.springblade.mach.excel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author LY
 * @version 1.0
 * @date 2021/1/18 13:56
 */
@Data
@ColumnWidth(25)
@HeadRowHeight(20)
@ContentRowHeight(18)
public class DrawingNumberApplicationExcel implements Serializable {
	private static final long serialVersionUID = 1L;
	@ExcelIgnore
	@ExcelProperty("申请部门")
	private Long createDept;
	@ColumnWidth(15)
	@ExcelProperty("申请部门")
	private String deptName;

    @ExcelIgnore
	@ExcelProperty("申请人")
	private Long createUser;
    @ColumnWidth(15)
	@ExcelProperty("申请人")
    private String userAccount;

    @ColumnWidth(20)
	@ExcelProperty("申领时间")
    private Date applicationTime;

	@ExcelIgnore
	@ExcelProperty("产品父类id")
	private Long productParentId;
	@ColumnWidth(25)
	@ExcelProperty("产品父类")
	private String productParentIdName;

	@ExcelIgnore
	@ExcelProperty("产品大类id")
	private Long productChildId;
	@ColumnWidth(25)
	@ExcelProperty("产品大类")
	private String productChildIdName;

	@ExcelIgnore
	@ExcelProperty("图纸类别")
	private Long drawingCategory;
	@ColumnWidth(25)
	@ExcelProperty("图纸类别")
	private String drawingCategoryName;

	@ColumnWidth(15)
	@ExcelProperty("申请数量")
	private Integer num;

	@ColumnWidth(25)
	@ExcelProperty("备注")
	private String remark;















}
